#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include"subwidget.h"
#include"mypushbutton.h"
#include"operationwindow.h"
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    subWidget subWindow;//子窗口
    void windowChange();//自定义切换子窗口槽函数
    operationWindow operation;//操作界面

private slots:
    void tomainSlot();

private:
    Ui::Widget *ui;

};
#endif // WIDGET_H
